﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SiGeSIB.Data.Finances
{
	public class MovimentationFactory
	{
		public static Movimentation Create(EMovimentationType type)
		{
			Movimentation m = null;

			switch (type)
			{
				case EMovimentationType.Income:
					m = new Income();
					break;
				case EMovimentationType.Outcome:
					m = new Outcome();
					break;
				default:
					break;
			}

			return m;
		}
	}
}
